package com.pinyougou.user.service;

import com.pinyougou.pojo.TbUser;

public interface UserService {

    /**
     * 用户添加
     * @param user
     */
    public void addUser(TbUser user);

    /**
     * 验证码生成及加入消息队列
     * @param phone
     */
    public void createCodeAndSaveQueue(String phone);

    public boolean  checkSmsCode(String phone ,Integer smscode);

}
